﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domain.Model.Vehiculos;

namespace Domain.Model.Aggregates
{
    public abstract class VehiculoAggregate
    {
        public static Vehiculo CreateVehiculo(
            VehiculoId vehiculoId,
            String vin,
            String placa,
            String licenciaVehiculo,
            String tipo,
            String servicio
        )
        {
            return new Vehiculo(vehiculoId,vin, placa, licenciaVehiculo,tipo,servicio);
        }
    }
}
